package cn.csg.ams.collect2.poptopics.entity.ao;

import lombok.Data;

import java.util.List;

/**
 * 下行召测接口参数
 */
@Data
public class HandleWorkOrderAo {

    private static final long serialVersionUID = 536536370143733266L;

    private String operType;

    private String busiType;

    private String dataSourceCode;

    private List<MrRunTerm> mrRunTerm;

    private String loginUserId;

    private String dataBeginTime;

    private String dataEndTime;

    private String dataSpan;

    private String productId;


    /**
     * 终端信息
     */
    @Data
    public static class MrRunTerm {
        private String mrRunTermId;
        private String areaCode;
        private List<MrRunMeter> mrRunMeter;
    }

    /**
     * 电能表信息
     */
    @Data
    public static class MrRunMeter {
        private String supplyOrgNo;

        private String mrRunMeterId;

        private List<DataItemBo> dataItemBos;
    }

    /**
     * 数据项信息
     */
    @Data
    public static class DataItemBo {
        private String dataTypeOne;

        private String dataType;

        private List<String> dataItem;
    }

}
